﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Data.SqlClient;
using GPSTracker.Helper;

namespace GPSTracker.Views.DAL
{
    public class TempoTrackingDAL
    {
        public DataTable FillTempo()
        {
            var sb = new StringBuilder();
            sb.Append("SELECT * FROM dbo.VW_GetTempoMaster ");
            var dt = new DataTable();
            var da = new SqlDataAdapter(sb.ToString(), CommonFx.GetSqlCon());
            da.Fill(dt);
            return dt;
        }
    }
}
